package com.seuic.hnapps.adapter;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.seuic.hnapps.R;
import com.seuic.hnapps.bean.DQ_Bean;

import java.util.List;

public class Dq_adapter extends BaseQuickAdapter<DQ_Bean, BaseViewHolder> {
    public Dq_adapter(int layoutResId, @Nullable List<DQ_Bean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, DQ_Bean item) {
        helper.setText(R.id.dq_item_money, item.getMoney() + "");
        helper.setText(R.id.dq_item_yue, item.getZ_money() + "");
        helper.setText(R.id.dq_item_lv, item.getLv() + "");
        helper.setText(R.id.dq_item_cq, item.getCq() + "");
        helper.setText(R.id.dq_item_time, item.getTime() + "");
        helper.setText(R.id.dq_item_zydm, item.getZydm() + "");

    }
}
